<%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2017/1/9
  Time: 14:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>用户登录</title>
    <style type="text/css">
        div {
            text-align:center;
            position: relative;
            top: 50%;
            font-family:"Microsoft Yahei";
        }
        h2{
            text-align:center;
        }
        #bt,#username,#pass{
            width: 300px;
            height: 60px;
        }
        .gray {
            color: #e9e9e9;
            border: solid 1px #555;
            background: #6e6e6e;
            background: -webkit-gradient(linear, left top, left bottom, from(#888), to(#575757));
            background: -moz-linear-gradient(top,  #888,  #575757);
            filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#888888', endColorstr='#575757');
        }
        .gray:hover {
            background: #616161;
            background: -webkit-gradient(linear, left top, left bottom, from(#757575), to(#4b4b4b));
            background: -moz-linear-gradient(top,  #757575,  #4b4b4b);
            filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#757575', endColorstr='#4b4b4b');
        }
        .gray:active {
            color: #afafaf;
            background: -webkit-gradient(linear, left top, left bottom, from(#575757), to(#888));
            background: -moz-linear-gradient(top,  #575757,  #888);
            filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#575757', endColorstr='#888888');
        }

    </style>
    <script>

    </script>
</head>
<body>
<div>

    <form  method="post" action = "/LoginServlet_dtt">
        <h2>登录</h2>
        <input type="text" name="username"  id="username"  />
        <br>
        <input type="password" name="pass"  id="pass" />
        <br>
        <input class="gray" type="submit" value="提交" name="submitBtn" id="bt" />
    </form>
</div>
</body>
</html>
